package com.zwj.service.impl;

import com.zwj.dao.ByAppcategory.ByAppcategoryMapper;
import com.zwj.pojo.AppCategory;
import com.zwj.service.ByCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ByCategoryServiceimpl implements ByCategoryService {
    @Autowired
    private ByAppcategoryMapper byAppcategoryMapper;
    @Override
    public List<AppCategory> getAppCategoryListByParentId(Integer parentId) {
        return byAppcategoryMapper.getAppCategoryListByParentId(parentId);
    }
}
